#include"process.h"

void Procession()
{
	string st(101,'\0');
	int i=0;
	st[0]='-';
	cout<<st.size()<<endl;
	cout<<st<<2<<endl;
	while(i<=100)
	{
		cout<<"["<<std::left<<std::setw(101)<<st<<"]"<<"["<<std::setw(3)<<i<<"%"<<"]"<<"\r"<<flush;
 		st[i++]='-';
	       	usleep(50000);
			
	}
	cout<<endl;
}
